<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>添加 作战图</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<link rel="stylesheet" type="text/css" media="screen" th:href="@{/webjars/jquery-ui/jquery-ui.min.css}" />
<link rel="stylesheet" type="text/css" media="screen" th:href="@{/webjars/jqGrid/css/ui.jqgrid.css}" />
<link rel="stylesheet" type="text/css" media="screen" th:href="@{/webjars/artDialog/skins/simple-star.css}" />
<link rel="stylesheet" type="text/css" media="screen" th:href="@{/webjars/star/css/buttons.css}" />
<link rel="stylesheet" type="text/css" media="screen" th:href="@{/webjars/star/css/editEntityTable.css}" />
<style type="text/css">
.gy_table {
	width: 100%;
}

.gy_table tr td:first-child {
	width: 125px;
	text-align: right;
}
</style>
</head>
<body>
  <div class="edit-container">
    <form action="" id="editWarInfoForm">
      <table class="gy_table">
        <tr>
          <td width="125px"><strong>当前位置：</strong></td>
          <td id="addr"></td>
        </tr>
        <tr>
          <td><strong>经度：</strong></td>
          <td id="lng"></td>
        </tr>
        <tr>
          <td><strong>纬度：</strong></td>
          <td id="lat"></td>
        </tr>
        <tr>
          <td><strong>显示级别：</strong></td>
          <td><input type="text" name="zoom" placeholder="填[1-18]内的数字"></td>
        </tr>
        <tr>
          <td><strong>图片：</strong></td>
          <td>
            <img th:src="@{/webjars/star/images/uploadBtn.png}" id="uploadImgBtn"> <span id="imgSpan"></span><br>
          </td>
        </tr>
        <tr>
          <td><strong>监测站：</strong></td>
          <td><input type="text" class="ipt400" name="stationNames" placeholder="多个用逗号分隔"> </td>
        </tr>
        <tr class="infoTr" th:each="field:${cateDto.fields}">
          <td><strong><span th:text="${field}"></span>：</strong></td>
          <td><input type="text" th:placeholder="'请填写'+${field}"> </td>
        </tr>
        <tr>
          <td colspan="2">
            <div class="btnGroup">
              <input type="button" value="保存" class="button blue" id="saveBtn"> 
              <input type="button" value="关闭" class="button grey" onclick="null != starMap ? starMap.getMap().closeInfoWindow() : art.dialog.close();">
            </div>
          </td>
        </tr>
      </table>
    </form>
  </div>
  <script type="text/javascript" th:src="@{/webjars/jquery/jquery.min.js}"></script>
  <script type="text/javascript" th:src="@{/webjars/artDialog/js/jquery.artDialog.js}"></script>
  <script type="text/javascript" th:src="@{/webjars/artDialog/js/iframeTools.source.js}"></script>
  <script type="text/javascript" th:src="@{/webjars/jquery-validation/dist/jquery.validate.min.js}"></script>
  <script type="text/javascript" th:src="@{/webjars/jquery-validation/dist/additional-methods-local.js}"></script>
  <script type="text/javascript" th:src="@{/webjars/My97DatePicker/WdatePicker.js}"></script>
  <script type="text/javascript" th:src="@{/webjars/star/js/star.utils.js}"></script>
  <script type="text/javascript" th:src="@{/js/mgr/warInfo/addWarInfo.js}"></script>
</body>
</html>